<template>
	<view class="footer-btn">
		<view class="submit-body">
			<view class="submit-btn" @click="submitHandle">
				<slot name="text"></slot>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			
			};
		},
		methods:{
			submitHandle(){
				this.$emit('submit')
			}
		}
	}
</script>

<style lang="scss">
	.footer-btn {
		margin-top: 40upx;
		background-color: #FFFFFF;
		height: 160upx;

		.submit-body {
			background-color: #FFFFFF;
			width: 100%;
			display: flex;
			justify-content: center;
			align-items: center;
			height: 160upx;
			position: fixed;
			bottom: 0;
			left: 0;
			right: 0;

			.submit-btn {
				display: flex;
				justify-content: center;
				align-items: center;
				background-color: $btn-bg;
				color: #FFFFFF;
				font-size: 34upx;
				height: 90upx;
				width: 90%;
				border-radius: 100upx;
			}
		}
	}
</style>
